#include "head.h"


int led=13;//指定LED端口 13

void setup()
{
  pinMode(led,OUTPUT);//设置端口13为输出模式
  Serial.begin(115200);
  printf_init();
}

int d = -10;
void loop()
{
  digitalWrite(led,HIGH);//拉高端口13，LED点亮
  delay(500);
  digitalWrite(led,LOW);//拉低端口13，关闭LED
  delay(500);
  printf("This is a demo:%d %c \r\n",d++,'A');
}




